fixes the tests so they work outide jQuery