checking for multiple installed script tags and removing if necessary