A Simple JavaScript example