Fixed IE bugs, added Function#name getter for IE