Updated thanks to  Vazkii, will work on a config option for outputing into html once i get the time.