Ok, abandoning app.js and moving to bookmarklet.js