And pager is back on front end

Build the pager based on the paged gist, and return to browser.
Also fixed the issue of `@property` not able to get value from `env`.