Handlebars.java pagination helper