A javascript library for pagi manipulation.