replaced $ for jQuery