Web admin: fix JavaScript issues with IE