install npm dependencies before_script and use karma directly from script in travis.yml