CHANGE: splitted the code into two libraries, one which handles parsing without dependency on dart:html, and one for the actual browser stuff