Stubs for SharedObject.invoke and TextField.length