added support for variant images
renamed js files