a js local file system wrapper