change wrapper to only work on globals
add in lazyload fix
only use the immediate win
take out minified version
take out minified version