Update getJsFiles() to return more path info

The method was also renamed to getPathInfoFromManifest()