Use wp.ajax instead of jQuery/ajaxurl directly

See http://lkwdwrd.com/using-wp-ajax-async-requests/ (though it is 404'ing right now)

Props @lkwdwrd.