Removed uneeded code and beforeunload event handling.
Fixed some broken newsletter popup layout issue.
Trivial fix.