Minor Style Update
Refactored paginate.js
Refactored tabs.js