[node-js] Add gitignore.
[java] Streamline the Java example.