finished javascript lab