Uses Raphael.js to animate insertion sort on a user's text.