I wish to use the second approach, i.e. using IM.js library. But, it looks as if it doesn't support the params 'size' and 'start'. I'm using this code, but it doesn't work for me (it fetches a set of 100 items in result instead of returning 50 items). Even the documentation also doesn't specify the params 'start' and 'size'.