Script that changes html image tags