Fixes typo in JS in example file.