Updated submit method for stupid IE8