Update bob js example to pass edge cases