Change ids to classes in scripts, in order to not have multiple same ids on the page.