moved requirejs out of index.html into separate file