Fixed state.js naming