This plugin can be used to randomly apply colors to divs using jQuery.
Install using git clone, then include the test.php, stylesheet and js-file into your project. Then you can click on the divs to start the fireworks!
Detailed instructions can be found here.
Your project needs to have the jQuery library linked.