fix readyfile bug and small display bug
Merge pull request #270 from nla/js-dw-bugs

fix readyfile bug and small display bug