Fixed a few comments in state.js