I have JS files I want to call using RS232 in a plugin....NOOB!

I have JS files used to control the Monoprice Audio Controller. These files were used by a WinAPI setup on my windows PC. I want to call these files using a plugin on my Vera but no idea where to start. anyone help point me in the right direction?