[Fixed] state not clearing after route change

update formatting
default to {} for getIntialState

this allow you to test for state properties on render
`if (!this.state.name) {`