Js ingest

Send, request logic is implemented for browser and nodejs. 
an object being thrown should have: `name` and `message` fields.
Otherwise, the log in the browser or node is not very useful.