split all js to separate script