fixed .jshintrc a bit and changed according to PR comments