Hi Otis,
You do not need to use JavaScript for this. Add an OnAfterFetch to your Aggregate. In the OnAfterFetch, you could check if the Aggregate came back empty using an If-statement. Create an empty Local Variable of the Record Type you need, and append that Local Variable directly to the empty Record List. Now you have a List with a single blank Record!