Recently I found a promising parser for JavaScript as I worked on my master thesis.
http://esprima.org/index.html
Since the search for a working parser is more than half of the work to write a fact extractor I post this one to help a future assignee.