[js] add note on property search and returned references