Merge pull request #319 from afrjorge/require-js

[CLEANUP] - Changed karma configuration to use phantomjs for ci builds