[js-phantom] fix undefined - some times, the buffer callback parameter of lazy module is undefined