Adding javascript to capture location and additional database columns to persist them