External Javascript example