split JS components