Testing xbrowser javascript