2.2.2: using reference modifier methods in js lib, to convert every reference created to ng-appbase ref