Updated Application.js to latest version