start functional testing for javascript