fix jsWithScope