Clean up example, support setting props of arbitrary JSRefs, make typing less ambiguous