Remove extraneous waitForSelector in dualmode.js