document the structure of teh JS application