Did this really work before?

I'm confused..  You are doing a push but not pushing anything into ndefMessage?  Is this some syntax I don't know about or some black magic?

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/push dictates you always have a target array and item..  

I feel really dumb.