Cleanedup the topleft.js shim