some more arranging of js files