making the button only on javascript