I did that as I'm not sure if all browsers behave the same.
Do they all return the host info when accessing the "script.src" attribute.