fix access to $ (use jQuery instead)