fix layout breaking plugin js garbage