remove duplicate loading of js file