finally understand that line of code with the null postMessage - removed and just went for it