Remove unnecessary assets and replace index with yindex, style with ystyle.