Add pageNumber var to global scope for all routes by default