Replaced all dollar function references with 'jQuery'