Updated Application.js to latest version and updated viewmodels to use new events system