Fix for travis build issues in app index

fix for issue #145 mocha unit tests broken by hookFor anglar-xl:repository in app/index.js