Add / remove some semicolons
Remove hg-click from currently selected per page option
Minor refactoring of table pagination helper
Fix upper page bound calculation