X-0 Javascript App for coding challenge