Implements correct Function.name for cases like following: * `var x = function () { ... }` * `var obj = {prop: function () { ... }}`