Addressed linting issues

Fixed the problems that ‘gulp lint’ reported.