Fixed IE origin issue