adding gethtmlbyid function