Working on firefox, but the result does not render on the div