Attempt at getting AJAX index editing