Manual:Writing testable JavaScript