improve js toggle option pager