Added the js in one place
removed the unused css
refine the code
removed the js and moved in common place
fixed the pagination issue
add pagination