Reformat code to cjs modules.