Fixing javascript to allow settings changes while reading, updating state with more options
Merge pull request #3 from kmweeks/master

Fixing javascript to allow settings changes while reading, updating stat...