this is a javascript pagination plugin