Problems loading ui.core.js dynamically on IE

Problems loading ui.core.js dynamically on IE


Im having some trouble including both ui.core.js and ui.core.min.js to
my page.
It only happen in ie6, dont know why, here is the code:
$(document.getElementsByTagName('head')[0]).append("<script defer
type='text/javascript' src='ui.core.js') >");
I've tried too:
$(document.getElementsByTagName('head')[0]).append($
(document.createElement("script")).attr
({'src':'ui.core.min.js',type:'text/javascript'}));
It takes 306 seconds and then gives me timeout.
This script works for any other script ive tried so far.
Any ideias?