JavaScript examples