Moved functions out of Tester.html