fs.js: add break in case