javascript challenge, need to make a readme file for this to explain it a bit better