remove amdefine from service.js