upgraded to viewer.js 0.6.0