add script to generate javadoc