Combined and modularised init.js and snowplow.js.
Created new file init.js requiring the resulting module.