Separates JS into multiple files.