Kaboom.js is a JavaScript library for browser games. Prototype one playable scene with movement, collision, sound, a restart flow, and both keyboard and touch input if mobile matters. Test it in your target browsers and measure asset-loading behavior on a slower device.
Small APIs can be pleasant for experiments, but examine documentation, maintenance, and how you would implement features the prototype does not cover. Keep game logic separate from framework calls where possible so a later switch is feasible.