Update main.js

tokens are generated at the correct height (mostly)