Create connected.js