HTML imports are cool. If you haven’t heard of them before, you should read Eric Bidelman’s excellent introduction to them, but they’re pretty self explanatory with a bit of code. For example the following is how a jQuery UI dialog works in my proof-of-concept web components port: <link rel="import" href="ui-dialog.html"> <ui-dialog title="Hello World"></ui-dialog> The cool thing here is not what