change useage of static files in templates