work on cordova/mobilechromeapps port
tweaks for cordova build, but cordova ChromeSocket sucks too much
sorting tables!