A variety of javascript challenges