test js file in index