Actually, that code should go into a separate JS file for the tests index page and should be kept out of util