A few JavaScript examples