added test if property starts with capital to prevent IE9+ from throwing errors