add advance triggering

as well as missing jquery