Update exec.js

console no method err
Merge pull request #6 from jiangzhuo/patch-1

Update exec.js