Remove unnecessary js, style and add embed code.