CRITICAL: Fixing JQuery overlapping referneces