Example of how to send a request to js
Messing up json parsing...