cleaned up pagination js
Merge branch 'master' of https://github.com/audibleblink/jailbird
fixed end statements