cleaner usage of sprockets asset api and base64 encoding for data uris