Working on JS solution to wrongful pagination by Jekyll on GH