Update services.js

now work