feature(css) add tryCatch
feature(html) add css optimization