Fix jQuery reference as it was previously undefined