I would actually recommend to not look at the above mentioned packages.. because I did, and they create javascript structures, not parse them.
I'm sorry I can't offer any more help. You may have a legitimate requirement to parse javascript on webpages, but as far as I know this is near impossible.. I'm most curious to see if you get a better answer in this forum!