JavaScript examples used during a course