adding fix for travis.js