I need help adding alpha vertex color to collada exporter

I tried emailing the guy that made the exporter, but he is unwilling to help or provide any insights and just told me to ask here on the forums…
I just need to add the alpha channel to the vertex colors when exporting. At the moment it just exports the rgb values, but I don’t understand the code and what I would need to change/add.
If anyone can take a look at it, any help would be appreciated.
The code is here: collada-exporter-js/ColladaExporter.js at 631f1b16c46e94549dd79ae8d543b0fec1346140 · gkjohnson/collada-exporter-js · GitHub

nevermind, I figured it out I think.