Basic javascript challange that was fun.