Added mocks.js to git
Corrected bug with leaf index route