Thank you for asking this. You inspired me to create a Raylib web template that can hopefully help you succeed! I tried to keep things as simple as I could, with `main.c` as the entire source code.
Please check it out, and let me know if you have any questions.