Is there any way to avoid having hardcode the width and height parameters here? Would be nice if it could autosize based on the PNG. If not, perhaps CSS (wishful thinking)? If not, maybe just define a constant in the JS code.