add standalone argument to render method to pass on to get_assets.
add support functions to create standalone assets, currenlty using base64enc package.