Added require.js
Added require.js
Major refactoring
updated