Karma JS testing:
* reordered loading of resources