fix to weblitmap.js for windows