Reorganized js src files and js files used for example.