Unity still doesn't have great support for making pure 2d games of the Mario/Metroid/Castlevania variety and is awfully heavyweight compared to an HTML5 canvas.
That, and the accessibility of the API vs. having to download and work in an IDE that you'll eventually have to pay money for mean more JS games.
Phaser.io[1] is a fairly comprehensive JS engine that is totally free. It's used to make professional games that run across a variety of devices.
[1]: http://phaser.io/