onclick JavaScript with string parameter

I am having an issue with JavaScript that has a string parameter within the onclick. It doesn’t like the whitespace in the string and automatically add quotation (“) causing an error (see picture). How do I do it correctly? Thank you.
The code is in kendo grid taghelper:

template=”<img onclick=Delete(#= Id #,’#=Name #’) src=’/icon.png’> “>

image

Expecting <img onclick=Delete(6183, ‘Dallas office’) src=”/…”>