Fix typo in src/path.js - ref issue #211

As mentioned in issue #211, this fix corrects 4 test.html failures.