JavaScript testing framework