For this and all the other places where we're using state['whatever'], would it be more prudent to use state.whatever? See https://github.com/KSHSK/WAVED/blob/Prototype/js/components/us_map.js#L23 for an example of the jQuery way of appending to a JSON object.