Insert the following into your html:
<div id='mygm'></div>
<script>
$("#mygm").gradientMaker({
	change: function(evt, data) {
		// operate on the array data.stops
	}
});
</script>
	
Examples
vertical demo