fixing a the global evaluation that makes uglifyjs compile wrong doT for safari exclusively
merging in davsket:uglifyjsfix by @davsket