Changed jQuery var to $