successfully parsed html file into javavascript data structure