Add JavaScript support

https://trello.com/c/LQsUqhYU/179-support-javascript
Sounds good, at least it helped drive the changes, removed.