Remove use of instanceof

instanceof does not work correctly for cross frame code.  Removed it's use in mapJsObjectGraph to fix ko.toJS on cross-frame objects.