added better ASI support to jspretty and better automatic detection of HTML apart from XML