Fix for RequireJS

There are two problems with the current support of AMD modules in DDT when it comes to RequireJs (and probably other module loaders as well). First all modules that are imported through script tags from an html page have to be named and second is that the code never run, its only added to modules.

One possible solution is to name each module (first parameter in define()) and to call the code (the require() in base.html). But this would only work for RequireJS and no other AMD loaders (to my knowledge at least).

Perhaps the best solution is just be to go back to browser global's? DDT is only used during development anyways.