Reasons to rewrite javascript entirely in racket web server

Can you articulate some reasons to rewrite javascript entirely in racket web server?
There may be some good reasons that I am not thinking of.
I know that I can include a javascript file into my web server.
The one reason that I can imagine is that since I am much more conversant with racket than javascript - that might be reason enough.
Thanks
Don.

it make web develop can fully base on racket rather than some maybe annoying languages.
sorry if it offend somebody

Can you clarify what you mean? Do you mean generate javascript on the server side using some racket code to generate it?

Some prefer urlang because it gives you a racket way to write javascript:

Write JavaScript with Racket syntax. Bonus: Use Racket to define macros for JavaScript constructs.

I imagine the using macros part definitively can be useful. Recently I didn't really target JavaScript/Web so I didn't have a reason to use it.