You're better off using require.js to manage this :)