Reorganized JS.