using 'in' instead of 'of'
Remove trailing whitespace, beautify js, and use single tabs for indentation.
Merge pull request #15 from matthewruttley/formatting-changes

Formatting changes