common js bug fix

modify first page,  reload data
extract reload function