might be loading js files twice?