Wrap jQuery in a no-conflict wrapper; use $ instead of jQuery consistently inside the no-conflict block.