Fix capybara js spec