Fix browser-side code example