changes to smooth JS dynamic bot demo