Service worker on cordova app