Fixing jshint and coding style standards errors.