Work around some jQuery-on-Node.js issues