up homework - javascrip