Generate HTML code in javascript simply.