Hello
HTML block allows to use common HTML tags to format the text only. It doesn't allow to use SCRIPT tag.
RAW block displays its content as is. So, you should be able to include JS file using SCRIPT tag. I tried to include some JS from Google and it's working fine.
---
Best Regards
Anton