change code style

I got tired of github tab-related bugs

Now we're officially following jshttp style guide:
https://github.com/jshttp/style-guide/blob/master/javascript.md