Shared code between different Jack.js integrations