Fixed style to pass jslint