js: support for event handlers on sendMessage
Constants for token saving
js: token saving/retrieving

FIXME: watch part may block if it already started sending message (to
get data from google) and just waiting for "ready" msg, and we ask it
to send another message (to retrieve token)