Write Better Markup with HTML Inspector

var htmlInsp = document.createElement(‘script’);
htmlInsp.src = ‘//cdnjs.cloudflare.com/ajax/libs/html-inspector/0.8.1/html-inspector.js’;
document.body.appendChild(htmlInsp);
HTMLInspector.inspect();

when i run it directly in console in any browser i got an error
ReferenceError: HTMLInspector is not defined

is there anything need to be configured before or not