switch from RJS to component