redid subprocess.Popen to set cwd scope on jsfmt call. fixes #1