`$('<div />');` does the same thing too... any reason why you're building the UI here instead of using templates?