still strange JS errors, but delete working