fixed applications.js file