Moving applyRDCW() to omero_image.js