deleted reundant javascript from .html file