ok button with broken js