fix connect(); cannot call from js lib code into a lib alias, must call the target