Add javascript for IE modal error