Added the js battle test js