somtimes, html has a null
fixed events off 

when w2layout destroyed, don't remove event handlers
Merge pull request #73 from easylogic/master

fixed check html is null