Moderate quake hits J&K