auto add css and js with ext