moved setstate method into store
This is to match our docs better and will also help a future issue. Also made it possible for the description & title to be readable when JS is disabled