Adding a closing script tag fixes IE 8