Crude implementation of old version of drawing JS to provide foundation for next update