Change jsHint preferences
Fix jsHint errors