I've never seen raw HTML inside a script tag. Frankly this bit of code scares the shit out of me.

A script tag with a mime-type of 'text/html'. Oh the horror! Is this a HTML5 thing. Does HTML5 allow this super-hacky way of writing code?