Update index.js

Small change to make the launcher work with the latest Karma and webdriver