Using Pas2JS {$R template.html} and TResourceInfo

Hi,

is there something to have this include option from pas2js in TMS Web Core.
Ex :

{$R INCLUDED_TEMPLATE.html}

procedure MyProc();
var
aInfo : TResourceInfo; // Unknown from tms web Core
aElement : TJsElement;
aElName : String;

begin
// REPLACE MyHinner BY TEMPLATES
aElName := 'MyHinner ';
aElement := document.getElementById(aElName);
if (aElement <> null) then
begin
if GetResourceInfo('INCLUDED_TEMPLATE',aInfo) then aElement.innerHtml := aInfo.Data;
end;
end;

Thank's

We'll need to check with the pas2js team, but is there any specific reason / advantage this would bring to you in connection with TMS WEB Core?