JSCRF(very tiny linear-chain CRF in JavaScript)