Rebuilds JS.