I would find `if(!chunk)` to be clearer here, since I'm not 100% sure looking at this if `undefined == null` evaluates to true. (It does evaluate to true, but the goal is clarity of code.)