JavaScript is stripped from all HTML files uploaded to D2L. This includes files uploaded as submissions to a Submission folder. For student work that includes files with JavaScript, it is recommended that the files be zipped prior to uploading in order to preserve the code.