changed jQuery to $ in library