Plenty of code-quality changes

* eslint style
* automated gulp testing
* jsbeautify style