javascript lab 2