fixed js on btns on p1