Added support for cross browser posting