Just click on the embed button on the project page in scratch, put the code in a .html file, use that file as your project, then submit it to the jam.