A testing framework for javascript