Retry lib for webdriverJS code