deobfuscate pagesToLoad
use jquery where possible