Instantiate parser on client same way as on server