Update viewer to be compatible with node