Reorganized js files.