move js to under one SOCD object