adding configuration for karma to run js tests