Tidying up: No more MemoryStore. Removed lines that were commented out during last commit. Reading control file only if window.cordova, so that browser testing still works