Replace $ with jQuery to avoid conflict.