improving world generation and linking to world.js in HTML