[71755478] specs for js on frontend

- use `poltergeist` as capybara driver for `phantomjs`
- specs for tabs JS and popups
- tell `VCR` to ignore *localhost* requests (`poltergeist` uses a random local port to talk to `phantomjs`)