Fixed undefined if offset is not passed
Fixed undefined if offset is not passed

imshibaji/phpjs,ajenkul/phpjs,janschoenherr/phpjs,strrife/phpjs,imshibaji/phpjs,davidgruebl/phpjs,FlorinDragotaExpertvision/phpjs,kvz/phpjs,VicAMMON/phpjs,Mazbaul/phpjs,revanthpobala/phpjs,praveenscience/phpjs,hirak/phpjs,Mazbaul/phpjs,J2TeaM/phpjs,davidgruebl/phpjs,chand3040/phpjs,janschoenherr/phpjs,praveenscience/phpjs,w35l3y/phpjs,davidgruebl/phpjs,J2TeaM/phpjs,mojaray2k/phpjs,praveenscience/phpjs,strrife/phpjs,janschoenherr/phpjs,hirak/phpjs,kvz/phpjs,FlorinDragotaExpertvision/phpjs,cigraphics/phpjs,kvz/phpjs,praveenscience/phpjs,ajenkul/phpjs,revanthpobala/phpjs,ajenkul/phpjs,strrife/phpjs,MartinReidy/phpjs,chand3040/phpjs,FlorinDragotaExpertvision/phpjs,mojaray2k/phpjs,MartinReidy/phpjs,J2TeaM/phpjs,FlorinDragotaExpertvision/phpjs,hirak/phpjs,revanthpobala/phpjs,cigraphics/phpjs,MartinReidy/phpjs,revanthpobala/phpjs,mojaray2k/phpjs,chand3040/phpjs,MartinReidy/phpjs,VicAMMON/phpjs,cigraphics/phpjs,w35l3y/phpjs,janschoenherr/phpjs,davidgruebl/phpjs,J2TeaM/phpjs,imshibaji/phpjs,Mazbaul/phpjs,mojaray2k/phpjs,kvz/phpjs,Mazbaul/phpjs,w35l3y/phpjs,hirak/phpjs,VicAMMON/phpjs,ajenkul/phpjs,cigraphics/phpjs,imshibaji/phpjs,strrife/phpjs,w35l3y/phpjs,VicAMMON/phpjs