Added checking in ffs.js.