specify jshint directives explicitly (more restrictive than before) + change code to contain no warnings by jshint