trying to make Behat work with JS