Allow tests to be run from subdirectories

This fixes a bug where currently if you try and run tests.html from a subdirectory 

e.g. running /js/third_party/papaparse/tests/tests.html 

the 2 tests above will fail.
Did you intend to only remove the leading `/` here? Shouldn't it just be just the filename, as above?