Fix for loading scripts with query parameters in path.

GetExtension can't be called on url's with query parameters. 
They need to be force leaded as independent files not a bundle.