Replacing jquery $j (deprecated) with $