updated application.js to include payments