Create HTML element using jQuery efficiently.