changed dynamic script insertion to use  for IE < 9, to handle  events and to insert scripts above the loader itself (currentScript)