releasing with uglify 2 and fixing a windows bug