Removing the blue focus border of the diagram

That’s not part of GoJS but applies to all HTML elements. I was going to suggest an obvious solution, but in doing a web search I came across: http://www.outlinenone.com/ which has a better suggestion.