Fixed pagination view and init now looks for index.js on root URL