Improved pagination links
Removed uncessary script