split js file usage