testing for javascript