updating for karma build