Fixed missing jquery ref