fix release2.2 : testJavaScript resource search path and resolution show bug
Merge pull request #3770 from dabingnn/release22_bug_hot_fix

[ci skip]Release22 bug hot fix