Fixes some jslint errors in windoze.