[Yepnope patch] Don't use stale object for first script detection