removed unnecessary script tags from html