fixes jshint warnings. add config for disabling sync
remove all jshint warns
Merge pull request #74 from matiu/feature/fix-jshint

Feature/fix jshint