Checking the size of the element

Adding a check on the client size of the element 
where size = (offsetWidth * offsetHeight).
This will be able to detect those elements that are hidden or zero-sized in the layout.
Merge pull request #1 from SujayKrishna/master

Checking the size of the element to detect more factors