[Web Games] What is the best second language?

I’m thinking I need to learn a new language. I want to start to make web apps, and web games. Though, Java applets are quite substandard and annoying.

So what would be the best second language after Java for web game development?

Please don’t say there isn’t a BEST language because that just gets annoying. :stuck_out_tongue: