Update states.js

minor formatting - remove extra spaces