added engine.localStorage.exists()