Completes 2.2-2.3 exercises on jQuery and JavaScript