Fix a couple of jsHint warnings