Ie7 Support, better callback logic