Update viewer.js

Committing error