split js code