Cleans up the specs and makes them pass jshint