This will give error somewhat similar to
uncaught exception: [Exception… “Not enough arguments [nsIDOMWindowInternal.alert]” nsresult: “0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)” location: “JS frame :: http://rae.us.playstation.com/raeus/ps3/index.htm :: :: line 810” data: no]
Please note that this error appears specifically in Firefox. (Not sure about other browsers).
Source : http://www.sitepoint.com/forums/showthread.php?t=182241