how to add image in svg using javascript
This allowed me to dynamically change the svg depending on user input. on CodePen.