fix fs reference in uglify2, add single file js sourcemap test