Remove duplicated wgPageName check

The page name is already checked in MediaWiki:Gadget-afchelper.js --
core.js is only loaded if that evaluates to true.
Remove unnecessary div that messes up the spacing