Fix #849: Create parent directory in packageJSDependencies