Fix initialState var in dashboard.html

initialState is assumed to be an object in dashboard.js, but was a string of JSON. Fix by immediately doing JSON.parse on the string.