A Javascript Tree model useful to generate Javascript code programmatically from Java