added jQuery snippet