wait_for_jquery method
Allow relative paths to rubble --test-dir