get rid of extra loading of js