The closest thing that I’m remotely familiar with is the pygame modules for the Python language, but that’s for stand-alone games, not browser based games. I’m not sure whether that’s what you’re looking for, or whether you know Python, so this is probably a moot point.