Helper globalization + test for waitForReload()
Unglobalize helpers
fix jshinting