Update tree_component.js

Changed regex for the path, to work with CDN's that attach a query to static files like tree_component.js?Signature=Pte%2BCS0PEtQDOSS%2
Merge pull request #3176 from kater169/develop

Update tree_component.js