Ensure application.js loads after jQuery