moved js and css files to new directories; introduced require.js