HTML Unit to parse javascript