add jshint config file to thr repo + some jshint fixes