[NF] Pass JSONobject to javascript (#31).