Removed bind call. Replacing scripts after insertion.

Removed bind call, since IE does not support it. Replacing scripts after they have been inserted to the page, since IE executes the scripts even before they are inserted on the page.