Fix #849: Create parent directory in packageJSDependencies
Merge pull request #850 from gzm0/fix-packagejs-dirs

Fix #849: Create parent directory in packageJSDependencies