Update JS for IE8 issues.