Reorganized JavaScript files.