sandbox: added local JS resources
FileSystem: getRootname() is static