split js to file.