testing viewer.js