javascript client side api for TW go