Fixed JSoop to work with IE8