Refactored out shared world-t1.js.