updating callback on scripts injected via src