How do you propose the functions should run if you don't have JavaScript enabled?
Also the functions execute on the server anyway (plus JavaScript isn't even the only supported language), so execution should also be possible without a browser having JavaScript enabled.