somehow undid my 'no alert() in chrome app' condition