Fixed issues reported by JSHint