Remove logging from the viewer-direct.js