fixed issue #547

Since arguments.callee is deprecated in ECMA5, switched to the function's name.
Fixed issue #547