Revise js source parsing.
Merge pull request #26 from begeeben/revise_js_source_parsing

Revise js source parsing.