Added mass update service for offline synch
Offline mode
JSHint
Fix build