Update src/main/javascript/core/_scriptcraft.js

Moved deferred calls into reload(), so that plugins with dependencies can be re-initialized.