Fixed the undef property error : here
Integration : here
Commit : here (pushed later)
Regards,
Keerthana