changed order of js files that r being called