Create app.js

addition for chrome extension