Update js to use innerHTML so that scripts in body don't run twice