Add jQuery scoping to prevent conflit with $ var