Javadoc, javascript improvements, bug fixes.