Serverless platform for Javascript

I have created an app in Javascript which can write out complex mathematical equations very quickly. Users clicks on the numbers/symbols/etc… and the equation is written straight up onto the canvas. It will handle fractions and powers. I have a domain and web host already. It would be used by teachers of maths or science either during an online presentation or using an interactive white board.
Please can someone tell me if the is a serverless provider that i can easily put the JavaScript onto. I want to protect the code from being copied (I have spent countless hours developing it). My knowledge of coding is limited but I can learn.
Many thanks,