Fix jsHint errors