Add JavaScript support

https://trello.com/c/LQsUqhYU/179-support-javascript
I think if we don't advertise the format, we don't have to support it. So I say remove that line, so it's easier to understand. Also thoughts, on not using `case` if we remove that line?