fixed minor change to services.js