reflect: store JS method names separately