Added jquery ui. Added require.js. Modularized js into main.js