Fix jsHint warnings