undefined should be defined once and not in code generation. ( Maybe move to NemerleWeb or NemerleWeb.TypedJS.Core)