Uglify seems to be causing a bug?