Modify ajax call to Services in services.js