demo javascript added