Added require.js and many more changes, still not working.
getting there.