Changed the way scripts are loaded for IE8,9, #171 #184