moved old script to legacy, started working with the jsPlumb model. Updated and added name if no image.