[BISERVER-11909] -  Updating the JS service to properly call delegate methods