Add js style requirement

[skip ci]
Add jscs style: no trailing commas

Update code to conform

[skip ci]
chore(Style): Disallow yoda conditions
Add more jscs checks and some jscs todos