remove duplicate js init