update wd.js, better world setup