Add special AREMI init JS of layers. Half-finished migration to new layer structure.