Split out mosaic tweak JS into separate file