[OE-4442] use layout to include correct js