refresh by js