The snippet is plain JavaScript with no libraries. Paste it into a <script> tag on your page, then call celebrate() — for example from a button’s click handler. celebrate(x, y) fires from a point on screen.
<script>
celebrate()
celebrate(x, y)