refer document._currentScript