Use JS utils to get the property of a js object.
dynamic getProperty(final Object o, final Object name);