Javascript dynamically invoke object method from string Javascript dynamically invoke object method from string javascript javascript