Add JTS javadoc
Clean up code