remove css,js, fix template media