Remove junk code in _checkState
Fix #14 and fix #15
Fix #16
Update API doc and minified js for 0.9.13
Update readme for 0.9.13
Bump version to 0.9.13