…t the fix for #925

- We don't currently have integration tests for JavaScript so the next
best method for ensuring no regression was to modify the sample.