Modified version of the laracasts lesson 'favorite-this' with some ajax love.