Add script to publish javadoc.