Some simple JavaScript examples