fix js errors (missing jquery) for some pages