couple of jiesa / qsa fixes
core.js fix