Refactor and format JS code for layout model
Minor UI fixes and JS documentation comments
EXOGTN-1593 [Edit-InPlace] D&D to add new window from composer
EXOGTN-1593 [Edit-InPlace] D&D to add new window from composer