stop generating button with JS