Delete photo button works with ujs