remove licence text from js