direct use of undefined changed to void 0
== undefined -> == null