Create app.js

Created the app.js file that was used in the tabs.html page.