Update pages template so no unnecessary global JS variable is being introduced.