Added some libraries for IE6-8 compatability, smarter jquery resize events