JS backend: support reflection for properties