Fixed bug when used in IE9...

..due to IE not reporting the name of functions as expected.