Fix jsHint issues