fix a access-to-modified-closure bug
build js