Fix JS for UsfirstEventDetails on admin tasks page. Fixes #419