How to create pagination using JavaScript jQuery, easily and effectively.