fix cached erb using js tag