Test JavaScript formatting.