Use Math without "Math"
Object.getOwnPropertyNames(Math).map(function(p) { window[p] = Math[p]; }); // So instead of Math.random(), just use random();