fixed some issues in old IE versions
added jquery-postmessage as a dependency