Some quick style cleanup to commonjs patches