Golang Array Length Javascript Method Beam Bridge