Remove redundant filesystem traversals
Remove HintUtils.splitPath
Merge pull request #5917 from adobe/iwehrman/simplify-js-code-hints-traversals

Simplify some JS code hints filesystem traversals