Updated resultDiv name and converted to id