fix conflict with other script using postMessage