Fix jQuery errors on IE 8, add html tag id attribute for IE 8