Denodeified connect in JS