Results per page added to hydrate and js