Add JavaScript support

https://trello.com/c/LQsUqhYU/179-support-javascript
How about a doc string of `returns true only for ruby`?