remove unused service.js; configure to build properly on b2g