Issue #5830: add jsDocs to layouts

Adds jsDocs to layouts