changed the order of js files.