create javascript file - pagination.js