form paging bug fixed
extract pages function
selectors refactor
input refactor, added Element