case 2257 - Now the JS code is working with another variable for button logic.