Fix some JSHint complaints