Re-used code in shared.js.
Bump manifest version