Trying to resolve JS bug in minified code.