adjusted labels in states.js to work with refoactored margins