update bb10.js to work on windows too