Add qualification to mainModules.

mainModules is not in scope here (JavaScript evaluator was V8
3.22.24.10).
Fix lock double-release.

The exclusive lock for from-JavaScript closure invocation was released
twice when an exception was raised during evaluation.
Merge pull request #101 from m4burns/master

Minor runtime fixes