Cleaned up reference to arguments.callee which breaks strict mode in base.js
Added methods to check for undefined and null in the R. scope
Reworking jasmine tests