fix typo in decktop channel code

This was breaking some tests for me and throwing errors in phantomjs. @nchapman r?