remove duplicate js block