added appendJSCode documentation