How do I send Proposal ID when requesting for vote info on a proposal in JS

I’ve been trying to get voting data on a particular proposal by a user and the client needs two arguments, namely the proposal ID and the voter address. While the voter address is a string the ID is a Long Object which I can’t seem to send properly. Can someone shed some light on the correct format and usage of Long in this case?

Hey! Can you elaborate further? What is the command you are trying to pass? Cheers