fixed parse error in service.js