Made the component pass jshint