layout compressor - first cut (disabled; to enable uncomment //MAPJS.LayoutCompressor.compress(root); in layout.js)
jslint