this will get reset every time _parseAttribute is called. You want to move this up a lot, probably just after line 28, so that it's a global property inside of the slowparse function scope. We only need to set it once, since the loaded library won't suddenly switch between running on http and https