AMD version of the Pagination module for jQuery