Adding adaptive image js