fixed karma npm install fail and some minor problems