removing % sign when present in image name

I'm dealing with a client right now and am just safe guarding with their image naming convention rather than requiring them to not use certain characters (b/c let's be honest, people do forget).  This works as a regular src or when it is run through the JIT image processing extension.