extension js: only log to console if DEBUG = 1
update manifest to v2. bump shellac to 0.3. Fixes #2