Fix lint errors with JSHint 1.0.0