comm: save/retrieve tokens (untested)
debugging logs

Problem: we treat Ready event differently.
One version - "JS loaded, it's possible to send messages" (the first one)
Another - "JS has active network connection" - the latter and bad one.
Result: deadlock (watch part waits for Ready event to be able to reply
with tokens...).
js: more save token obfuscation; uniform LS access
comm: cleaner handling of "js not ready" state (untested)

Use callbacks.
Maybe even don't expose them in .h?..