Trying to update JS to no add an additional timout on every reload.
update JS to only schedule 1 refresh