js: check if we have access token
js: moved token check to startup

Possible bugs: we don't send CODE_READY if there is no token; so
on Pebble side there may be problems with messaging because of
one-message send queue size.
comm: check if tasklist is active (fix issue #24)