added chrome app functionality to gain access to chrome.serial