introduce package management with npm and bower. Migrating unittest from custom to jasmine\karma stack