changing destroy.js to include document.on page:change breaks other js files