Add externs for elements for server side render.