Tidying up drag and drop
Correct module definition in the browser

The previous logic was preventing modules being executed that weren't
baked into a script tag.