Fix what appears to be a merge conflict.

Need to call lazyRefN instead of lazyN in both wrapper.js and
VirtualDom.js.
Match new JSON api function names.
Merge pull request #2 from rudi-c/master

A few changes I needed to make virtual-dom work.