Fix Bug 861407, update pinlady detection for IE compatibility

@pmclanahan r?