fixing path and missing jquery ref