Cordova doesn't provide a navigator.notification.prompt method, don't
emulate it.

Instead, where needed, use window.prompt directly.
Be more careful about empty and fouled records for remembered share rooms.
When actual SyntaxError is encountered, clear the stored records.