Adds minified random.js, and also adds Math to args of encapsulating function