working with aplication.js file