almost finished javascript