Adds a done-friendly beforeAll global function to Jasmine