If you want to use Construct 3 Layouts to display something using Javascript you can create Canvas. See how in the attached File. All My Tutorials bellow.