Updated module.js to use load instead of the non cross-browser
afterscriptexecute

Signed-off-by: Tobias Sjondin <tsjondin@op5.com>