update remaining examples to js_wrap