A few JSHint errors