Add JavaScript style guide

https://trello.com/c/LQsUqhYU/179-support-javascript
As for `file` stub double, you can just make it `as_null_object`.