A custom JavScript code can be added with setJSCode method.