adding HTML DOM + JSON support