Adding some example JavaScript