Java and JavaScript are two completely different languages, but you're still right on both accounts, making games in JavaScript is like asking to make a computer out of wood, and making a game in Java is not the best idea, although I would suggest C instead of C# (Although they are both part of the C family) I prefer C over C# because it's easier to compile on a OS X system (Making your game available for more platforms), but I'm not saying C# can't be compiled on OS X, C is easier (from my experience).