Javascript driver: do not install the C++ protobuf lib by default

Review 1027 by @neumino
Closes #1172