Update snippet JS to match current production.