VFS: Removed redundant code in osjs module (abstraction from public)