MDL-50919 behat: temporary fix until behat learns to wait for JQuery