This form of expression has been commented in another PR as well. The expression ```self.page().index-1 || 0``` just doesn't make sense to me. Maybe that is because of my poor JS skills but if possible I would prefer this to be expressed this in a clearer way.