[fix] Actually append the css/js to an element