Changed coding style to airbnb's

The javascript part of the project now uses (Airbnb's javascript styleguide)[https://github.com/airbnb/javascript].

I also added a blank line at the end of BinaryChopTest.js.