Cleanup a bit semantic layout API

[#63386470]
Fix mocks used by mocha tests
inline icon images, makes built lab.js more portable