Added testing loading of module to check so you get a nice return instead of JavaScript error.