Properly deal with __filename and __dirname in the repl. Fixes #42.
Add explicit dynjs dependency to make intellij happy