Fixes for IE8/9 - unable to use the ajax functions