setup testing for javascript