Fix module run function to work with minified js.