Create ApplicationWindow.js

Controller file for iphone application