testing suite for javascript files