Javascrip Assignment

Not done to my liking, but ran out of time.