Update tree_component.js

Actually the path for the static files, loaded in js depends on the tree_component, but when the js file is delivered be a CDN, it get a query.

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