Self marking JavaScript exercises