vanng822/pagination — pull request #2 by edwardsmit (2013-11-06 12:21:46+00:00)
Title: Fix for incorrect number of pagelinks when current page < 3

When current page was 1 or 2, the number of links would be one to much.
Added some missing semicolons to shut up jslint.