Thanks @marco.chain for raising all this stuff.
I totally vote for the JavaScript SDK to improve and add types. I would even love if the SDK would be transitioned to TypeScript. This would improve usability and developer experience a lot. I can also support you with the transition (as far as I know there is currently not much SDK related work going on)