update view/js