#119 Fixed IE7 incompatibility