Fix JavaScript example layout