Add test and older global.
Add debug js.