Nit: please remove all console.log from the app, or hide them behind a flag. You can also use this: https://github.com/mozilla-b2g/gaia/blob/master/shared/js/dump.js