Update core.js

Resolving [14:09:36.304] ReferenceError: assignment to undeclared variable pageid @ https://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Theo%27s%20Little%20Bot/afch/afchelper.js/core.js:109