Simply put, people using C++ on the web, are doing so because they are unwilling to learn another language.
... this is not recommended.
Okay so then I guess I will just continue learning java script. I am willing to learn another language. I guess now I just have to weed out the bad of java script with the help of the resources suggested above and then learn the Micro-frameworks. Any recommendations on micro frameworks that I can use to help me make games (mostly in the graphics section of things but sound would be good too)?