a bootstraper helper for rendering html in server