Maybe they are hiring people to implement features that are completely useless in production code but are nice to implement?
PS: why do you even need to ask JS developers puzzles - all the most difficult problems are on server-side anyway (unless it is Node.js of course).
http://37signals.com/svn/posts/3543-google-uses-big-data-to-...
> And another one, completely useless in production code, but a nice puzzle to solve
Quite. I would prefer a job where I make production code not crossword puzzles.