Reworked to use my ajax_render gem. ;)