changes for auth key in JS driver