support js for directory paths
Merge pull request #25 from nkzawa/master

Support js for directory paths