Forked and adapted from noVNC: HTML VNC Client Library and Application https://github.com/novnc/noVNC