fixing null and undefined lookup, fixes #397

Issue #397.
```js
> a = function (undefined) { console.log(undefined); }
[Function]
> a()
undefined
> a(1)
1
```