Updating live JS preview to match Python backend.