javascript library organization document

This contains the rationale for organizing the htdocs/js directory.  
Amend and extend as needed.