move arbolade CSS out of js, add kludgy traversal code and click events