Harshad Numbers in Go & JS