added requirejs for karma