allow inline css/js to be passed as a string