Arduino Pass Variable To Javascript Array Shift Method