added test js for connect framework