Some basic JavaScript examples