Fixed 'functionName' for IE when the function has no name: it used to throw an exception