Add JavaScript support

https://trello.com/c/LQsUqhYU/179-support-javascript
Sure, done.