Update script.js

Added $imgName for holding image with same name as clicked character.