Map map = getModelObject();
StringBuilder builder = new StringBuilder();
builder.append(renderBeforeConstructorJs() + "\n\n");
builder.append(map.getJsId() + " = new " + map.getJsType() + "(");
builder.append(map.renderJs());
builder.append(");\n\n");
builder.append(renderAfterConstructorJs());
return builder.toString();
}