Refactor #4240: Bind singleton objects in JSB