Fix application.js to not require unavailable libraries