update javascript with missing jquery