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