Add the MapComponent trait
Transpile only just before browser tests