Why remove the descriptive variable name? I think `canGenerateDataUris` is more clear on its purpose than `btoa? and JSON? `. The variable definition could be included in the `compile` function though, if it's not used anywhere else.

Removing the unnecessary variable for the return value is OK though.