Because I added the following line, via autotrack.js: dojo.provide('at.image.photoswipe.impl');
And checkJS would complain about 'dojo' not being defined.. :(

It's *very* strict.. I tried to trick it with an if-statement in front of it like this: if (typeof dojo != 'undefined'). But the checker would still complain..:(