Improved JS code for refreshing captchas
Removed PNG output of captchas due to IE issues