travis: using node.js v0.10.30
src: fixed bugs for node.js 0.11