fixing widget javascript :

 1. Making the IFRAME include the data-host -- this way we can use this for the iframe content and we won't have to manually modify every deployment. :)
 2. adding an "onLoad" listener for window and getting rid of global scope.