Cleaning up JavaScript tests file