How can we add javascript code in script reports?

How can we add javascript code in script reports?

Please check the second video in reference: Create scripts report error - #2 by NCP