Return the html instead of appending it in buildDiv