fix javascript in project config page for internet explorer