Having issues with collision detection on those 2 <div> tags of yours? Maybe you don’t want to use a plugin either? Well here’s a simple way to solve your issue.
IE7, IE8 and IE9 can have issues with certain jQuery functions, one of these is the .remove() function. One (and probably) the only solution I’ve found is to always use an ID or Class selector.