Add a simple JavaScript example