Added javascript on/off example