Further work and experimentation between different ways to share JS.