Fixed a design flaw in transformUrl that caused problems with the compressed script.