Running puzzles under jsdom