fixed IE bug with checking image height when upload posts and other small changes