Bring CoffeeScript idiom to conditional statement.

An advantage of CoffeeScript compared to JavaScript is its ability to
check for array membership with the `in` keyword.
A feature it borrowed from Python.
Improve readability.
Merge pull request #89 from nepsilon/better-coffeescript-idiom

Bring CoffeeScript idiom to conditional statement.