refactoring js
add Path.base accessor