re-implement requirejs
adding back requirejs and download builder