Update tabletop.js

Modified line 179 with condition to prevent null error (fatal in IE7, IE8).