make the url configurable
if an exception occurs (most likely a cross site scripting bug of the
browser) then try to log it and go on so that the rest does go on (the
request is done)
some more crosssite scripting enhancements
an array should be created