wrap css and js into blocks