Updated with the new Chrome serial API