Easily generate markup from javascript