moved world generation server side / put js lib local