fix ruby client connect event bug #24
fix javascript connect event bug  #24
bundle update