Added Wait functionality

Instead of sleep, I've added wait.until, which should speed up the
spider a little bit.