[js] compiler: use parent as 'this' object for member derefrences