Updated service.js and formatting in service.xml