rewrite boot to use requirejs