add id to button and remove script from file
update plugin dynamic check value