Implemented html5lib parser in BeautifulSoup

Also plot parser optimization