Update vendor/assets/javascripts/viewer.js