run_javascript_tests.py: Be more flexible about directory layout.

The top-level directory name isn't part of the repository, and we
can't count on it always being "pdfium" (though many people will
choose to do it this way).

R=jam@chromium.org

Review URL: https://codereview.chromium.org/921043005
1 file changed