Arduino Pass Variable To Javascript Array Slice