Fixed JS for 508 page.