update viewer js