Update dir.js
Merge pull request #1 from zaobao/patch-1

Update dir.js