Fix js for IE.