Photo Tagger integrated with Rails via AJAX