Given the existence of coffeescript and the plethora of languages which compile to js, the former is certainly possible.
There seems to be a phenomenon of coders who want to work in the browser but who refuse to touch a language they find aesthetically unpleasant. I would suggest OP go find something that compiles Ruby to Javascript and stop insisting the entire web be restructured because they find braces ugly.