Minor bug fix in JavaScript runtime sample
Minor bug fix in JavaScript runtime sample

bitcraftCoLtd/finite-state-machine,bitcraftCoLtd/finite-state-machine,bitcraftCoLtd/finite-state-machine,bitcraftCoLtd/finite-state-machine,bitcraftCoLtd/finite-state-machine