"Since SVGs are essentially code, they can embed JavaScript"
Odd thing to say. Everything on a computer is "essentially code", executable or not.