Tweaks to application.js