Update viewer.js

only added a comment related to performance.