Update connection.js

fix spelling mistake