rename JS var: imageExtensions -> rex_imageExtensions