update view and js all