Extract JS and add container.