getUtils().addToScriptHash(options, "targetId", targetId, null , ScriptHashVariableWrapper.DEFAULT);
getUtils().addToScriptHash(options, "attachId", attachId, null , ScriptHashVariableWrapper.DEFAULT);
getUtils().addToScriptHash(options, "type", attributes.get("type"), null , ScriptHashVariableWrapper.DEFAULT);
getUtils().addToScriptHash(options, "event", attributes.get("event"), null , ScriptHashVariableWrapper.DEFAULT);
getUtils().addToScriptHash(options, "name", attributes.get("name"), null , ScriptHashVariableWrapper.DEFAULT);
getUtils().addToScriptHash(options, "params", new JSLiteral(convertParameters(context, (UIEffect)component)), null , ScriptHashVariableWrapper.DEFAULT);
JSFunction function = new JSFunction("Richfaces.effect.create");
if (!options.isEmpty()) {
function.addParameter(options);
}