Fixed #3499: modify resource path for NPM

Modify resource path for NPM