basic html javascript test cody object with method to return gender