Update bb10.js to work on windows too