Fixed code style based on jshint.