added "replace:true" for IE8 comptibility