stricted jshint rules & some cleanup