updated application.js to return focus to text field