Fix some jshint issues and ignore others

Not fixed: single/double quotes, unused function arguments and undefined lhjs