replace some $ with jQuery