@Override
public JavaScriptFile getJavaScriptFile(Object object) throws ScriptException {
if (object instanceof String) {
String path = (String) object;
if (path.startsWith("file://")) {
return new JavaScriptFileManagerImpl().getJavaScriptFile(path);
}
WebAppFile webAppFile = new WebAppFile(path, context);
webAppFile.setFileManager(this);
return webAppFile;
} else if (object instanceof FileItem) {