update log page js