HTML5 tools?

I’ll probably participate again this time, but I’m not sure what tools to use.

I’ve been using a lot of HTML5/JS/CSS lately (for other purposes) and I’m inclined to use it to make a game.

I’m thinking about using Three.js if it’s 3D or develop my own codebase for a 2D game.

Which tools do you know or used to make games in HTML5?