Add javascript options documentation.