fix cross site reference errors on ajaxfilemanater